/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package wf.dto;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedNativeQueries;
import javax.persistence.NamedNativeQuery;
import javax.persistence.Table;
//import org.hibernate.annotations.NamedNativeQueries;
//import org.hibernate.annotations.NamedNativeQuery;

/**
 *
 * @author Rómulo Galindo Tanta
 */
@Entity
@NamedNativeQueries({
    @NamedNativeQuery(
	name = "frawor2.pfins_tbpagreg",
    query = "select * from frawor2.pfins_tbpagreg(:p_id_frawor,:p_co_pagina,:p_co_pagreg,:p_nu_pagfil,:p_va_pagreg)",
    resultClass = pfins_tbpagreg.class)
})
public class pfins_tbpagreg implements Serializable {

    @Id
    @Column(name = "pfins_tbpagreg")
    String pfins_tbpagreg;

    //@Id
    public String getPfins_tbpagreg() {
        return pfins_tbpagreg;
    }

    public void setPfins_tbpagreg(String pfins_tbpagreg) {
        this.pfins_tbpagreg = pfins_tbpagreg;
    }
}
